package com.wx.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WxPicReplyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WxPicReplyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Integer value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Integer value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Integer value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Integer value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Integer value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Integer> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Integer> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Integer value1, Integer value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Integer value1, Integer value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andWxidIsNull() {
            addCriterion("wxid is null");
            return (Criteria) this;
        }

        public Criteria andWxidIsNotNull() {
            addCriterion("wxid is not null");
            return (Criteria) this;
        }

        public Criteria andWxidEqualTo(String value) {
            addCriterion("wxid =", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidNotEqualTo(String value) {
            addCriterion("wxid <>", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidGreaterThan(String value) {
            addCriterion("wxid >", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidGreaterThanOrEqualTo(String value) {
            addCriterion("wxid >=", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidLessThan(String value) {
            addCriterion("wxid <", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidLessThanOrEqualTo(String value) {
            addCriterion("wxid <=", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidLike(String value) {
            addCriterion("wxid like", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidNotLike(String value) {
            addCriterion("wxid not like", value, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidIn(List<String> values) {
            addCriterion("wxid in", values, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidNotIn(List<String> values) {
            addCriterion("wxid not in", values, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidBetween(String value1, String value2) {
            addCriterion("wxid between", value1, value2, "wxid");
            return (Criteria) this;
        }

        public Criteria andWxidNotBetween(String value1, String value2) {
            addCriterion("wxid not between", value1, value2, "wxid");
            return (Criteria) this;
        }

        public Criteria andTitleIsNull() {
            addCriterion("title is null");
            return (Criteria) this;
        }

        public Criteria andTitleIsNotNull() {
            addCriterion("title is not null");
            return (Criteria) this;
        }

        public Criteria andTitleEqualTo(String value) {
            addCriterion("title =", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotEqualTo(String value) {
            addCriterion("title <>", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThan(String value) {
            addCriterion("title >", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleGreaterThanOrEqualTo(String value) {
            addCriterion("title >=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThan(String value) {
            addCriterion("title <", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLessThanOrEqualTo(String value) {
            addCriterion("title <=", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleLike(String value) {
            addCriterion("title like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotLike(String value) {
            addCriterion("title not like", value, "title");
            return (Criteria) this;
        }

        public Criteria andTitleIn(List<String> values) {
            addCriterion("title in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotIn(List<String> values) {
            addCriterion("title not in", values, "title");
            return (Criteria) this;
        }

        public Criteria andTitleBetween(String value1, String value2) {
            addCriterion("title between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andTitleNotBetween(String value1, String value2) {
            addCriterion("title not between", value1, value2, "title");
            return (Criteria) this;
        }

        public Criteria andPKeywordIsNull() {
            addCriterion("p_keyword is null");
            return (Criteria) this;
        }

        public Criteria andPKeywordIsNotNull() {
            addCriterion("p_keyword is not null");
            return (Criteria) this;
        }

        public Criteria andPKeywordEqualTo(String value) {
            addCriterion("p_keyword =", value, "pKeyword");
            return (Criteria) this;
        }

        public Criteria andPKeywordNotEqualTo(String value) {
            addCriterion("p_keyword <>", value, "pKeyword");
            return (Criteria) this;
        }

        public Criteria andPKeywordGreaterThan(String value) {
            addCriterion("p_keyword >", value, "pKeyword");
            return (Criteria) this;
        }

        public Criteria andPKeywordGreaterThanOrEqualTo(String value) {
            addCriterion("p_keyword >=", value, "pKeyword");
            return (Criteria) this;
        }

        public Criteria andPKeywordLessThan(String value) {
            addCriterion("p_keyword <", value, "pKeyword");
            return (Criteria) this;
        }

        public Criteria andPKeywordLessThanOrEqualTo(String value) {
            addCriterion("p_keyword <=", value, "pKeyword");
            return (Criteria) this;
        }

        public Criteria andPKeywordLike(String value) {
            addCriterion("p_keyword like", value, "pKeyword");
            return (Criteria) this;
        }

        public Criteria andPKeywordNotLike(String value) {
            addCriterion("p_keyword not like", value, "pKeyword");
            return (Criteria) this;
        }

        public Criteria andPKeywordIn(List<String> values) {
            addCriterion("p_keyword in", values, "pKeyword");
            return (Criteria) this;
        }

        public Criteria andPKeywordNotIn(List<String> values) {
            addCriterion("p_keyword not in", values, "pKeyword");
            return (Criteria) this;
        }

        public Criteria andPKeywordBetween(String value1, String value2) {
            addCriterion("p_keyword between", value1, value2, "pKeyword");
            return (Criteria) this;
        }

        public Criteria andPKeywordNotBetween(String value1, String value2) {
            addCriterion("p_keyword not between", value1, value2, "pKeyword");
            return (Criteria) this;
        }

        public Criteria andPKeywordTypeIsNull() {
            addCriterion("p_keyword_type is null");
            return (Criteria) this;
        }

        public Criteria andPKeywordTypeIsNotNull() {
            addCriterion("p_keyword_type is not null");
            return (Criteria) this;
        }

        public Criteria andPKeywordTypeEqualTo(Integer value) {
            addCriterion("p_keyword_type =", value, "pKeywordType");
            return (Criteria) this;
        }

        public Criteria andPKeywordTypeNotEqualTo(Integer value) {
            addCriterion("p_keyword_type <>", value, "pKeywordType");
            return (Criteria) this;
        }

        public Criteria andPKeywordTypeGreaterThan(Integer value) {
            addCriterion("p_keyword_type >", value, "pKeywordType");
            return (Criteria) this;
        }

        public Criteria andPKeywordTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("p_keyword_type >=", value, "pKeywordType");
            return (Criteria) this;
        }

        public Criteria andPKeywordTypeLessThan(Integer value) {
            addCriterion("p_keyword_type <", value, "pKeywordType");
            return (Criteria) this;
        }

        public Criteria andPKeywordTypeLessThanOrEqualTo(Integer value) {
            addCriterion("p_keyword_type <=", value, "pKeywordType");
            return (Criteria) this;
        }

        public Criteria andPKeywordTypeIn(List<Integer> values) {
            addCriterion("p_keyword_type in", values, "pKeywordType");
            return (Criteria) this;
        }

        public Criteria andPKeywordTypeNotIn(List<Integer> values) {
            addCriterion("p_keyword_type not in", values, "pKeywordType");
            return (Criteria) this;
        }

        public Criteria andPKeywordTypeBetween(Integer value1, Integer value2) {
            addCriterion("p_keyword_type between", value1, value2, "pKeywordType");
            return (Criteria) this;
        }

        public Criteria andPKeywordTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("p_keyword_type not between", value1, value2, "pKeywordType");
            return (Criteria) this;
        }

        public Criteria andPOrderyIsNull() {
            addCriterion("p_ordery is null");
            return (Criteria) this;
        }

        public Criteria andPOrderyIsNotNull() {
            addCriterion("p_ordery is not null");
            return (Criteria) this;
        }

        public Criteria andPOrderyEqualTo(Integer value) {
            addCriterion("p_ordery =", value, "pOrdery");
            return (Criteria) this;
        }

        public Criteria andPOrderyNotEqualTo(Integer value) {
            addCriterion("p_ordery <>", value, "pOrdery");
            return (Criteria) this;
        }

        public Criteria andPOrderyGreaterThan(Integer value) {
            addCriterion("p_ordery >", value, "pOrdery");
            return (Criteria) this;
        }

        public Criteria andPOrderyGreaterThanOrEqualTo(Integer value) {
            addCriterion("p_ordery >=", value, "pOrdery");
            return (Criteria) this;
        }

        public Criteria andPOrderyLessThan(Integer value) {
            addCriterion("p_ordery <", value, "pOrdery");
            return (Criteria) this;
        }

        public Criteria andPOrderyLessThanOrEqualTo(Integer value) {
            addCriterion("p_ordery <=", value, "pOrdery");
            return (Criteria) this;
        }

        public Criteria andPOrderyIn(List<Integer> values) {
            addCriterion("p_ordery in", values, "pOrdery");
            return (Criteria) this;
        }

        public Criteria andPOrderyNotIn(List<Integer> values) {
            addCriterion("p_ordery not in", values, "pOrdery");
            return (Criteria) this;
        }

        public Criteria andPOrderyBetween(Integer value1, Integer value2) {
            addCriterion("p_ordery between", value1, value2, "pOrdery");
            return (Criteria) this;
        }

        public Criteria andPOrderyNotBetween(Integer value1, Integer value2) {
            addCriterion("p_ordery not between", value1, value2, "pOrdery");
            return (Criteria) this;
        }

        public Criteria andPImgHrefIsNull() {
            addCriterion("p_img_href is null");
            return (Criteria) this;
        }

        public Criteria andPImgHrefIsNotNull() {
            addCriterion("p_img_href is not null");
            return (Criteria) this;
        }

        public Criteria andPImgHrefEqualTo(String value) {
            addCriterion("p_img_href =", value, "pImgHref");
            return (Criteria) this;
        }

        public Criteria andPImgHrefNotEqualTo(String value) {
            addCriterion("p_img_href <>", value, "pImgHref");
            return (Criteria) this;
        }

        public Criteria andPImgHrefGreaterThan(String value) {
            addCriterion("p_img_href >", value, "pImgHref");
            return (Criteria) this;
        }

        public Criteria andPImgHrefGreaterThanOrEqualTo(String value) {
            addCriterion("p_img_href >=", value, "pImgHref");
            return (Criteria) this;
        }

        public Criteria andPImgHrefLessThan(String value) {
            addCriterion("p_img_href <", value, "pImgHref");
            return (Criteria) this;
        }

        public Criteria andPImgHrefLessThanOrEqualTo(String value) {
            addCriterion("p_img_href <=", value, "pImgHref");
            return (Criteria) this;
        }

        public Criteria andPImgHrefLike(String value) {
            addCriterion("p_img_href like", value, "pImgHref");
            return (Criteria) this;
        }

        public Criteria andPImgHrefNotLike(String value) {
            addCriterion("p_img_href not like", value, "pImgHref");
            return (Criteria) this;
        }

        public Criteria andPImgHrefIn(List<String> values) {
            addCriterion("p_img_href in", values, "pImgHref");
            return (Criteria) this;
        }

        public Criteria andPImgHrefNotIn(List<String> values) {
            addCriterion("p_img_href not in", values, "pImgHref");
            return (Criteria) this;
        }

        public Criteria andPImgHrefBetween(String value1, String value2) {
            addCriterion("p_img_href between", value1, value2, "pImgHref");
            return (Criteria) this;
        }

        public Criteria andPImgHrefNotBetween(String value1, String value2) {
            addCriterion("p_img_href not between", value1, value2, "pImgHref");
            return (Criteria) this;
        }

        public Criteria andPSummaryIsNull() {
            addCriterion("p_summary is null");
            return (Criteria) this;
        }

        public Criteria andPSummaryIsNotNull() {
            addCriterion("p_summary is not null");
            return (Criteria) this;
        }

        public Criteria andPSummaryEqualTo(String value) {
            addCriterion("p_summary =", value, "pSummary");
            return (Criteria) this;
        }

        public Criteria andPSummaryNotEqualTo(String value) {
            addCriterion("p_summary <>", value, "pSummary");
            return (Criteria) this;
        }

        public Criteria andPSummaryGreaterThan(String value) {
            addCriterion("p_summary >", value, "pSummary");
            return (Criteria) this;
        }

        public Criteria andPSummaryGreaterThanOrEqualTo(String value) {
            addCriterion("p_summary >=", value, "pSummary");
            return (Criteria) this;
        }

        public Criteria andPSummaryLessThan(String value) {
            addCriterion("p_summary <", value, "pSummary");
            return (Criteria) this;
        }

        public Criteria andPSummaryLessThanOrEqualTo(String value) {
            addCriterion("p_summary <=", value, "pSummary");
            return (Criteria) this;
        }

        public Criteria andPSummaryLike(String value) {
            addCriterion("p_summary like", value, "pSummary");
            return (Criteria) this;
        }

        public Criteria andPSummaryNotLike(String value) {
            addCriterion("p_summary not like", value, "pSummary");
            return (Criteria) this;
        }

        public Criteria andPSummaryIn(List<String> values) {
            addCriterion("p_summary in", values, "pSummary");
            return (Criteria) this;
        }

        public Criteria andPSummaryNotIn(List<String> values) {
            addCriterion("p_summary not in", values, "pSummary");
            return (Criteria) this;
        }

        public Criteria andPSummaryBetween(String value1, String value2) {
            addCriterion("p_summary between", value1, value2, "pSummary");
            return (Criteria) this;
        }

        public Criteria andPSummaryNotBetween(String value1, String value2) {
            addCriterion("p_summary not between", value1, value2, "pSummary");
            return (Criteria) this;
        }

        public Criteria andIsShowIsNull() {
            addCriterion("is_show is null");
            return (Criteria) this;
        }

        public Criteria andIsShowIsNotNull() {
            addCriterion("is_show is not null");
            return (Criteria) this;
        }

        public Criteria andIsShowEqualTo(Integer value) {
            addCriterion("is_show =", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotEqualTo(Integer value) {
            addCriterion("is_show <>", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowGreaterThan(Integer value) {
            addCriterion("is_show >", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_show >=", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowLessThan(Integer value) {
            addCriterion("is_show <", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowLessThanOrEqualTo(Integer value) {
            addCriterion("is_show <=", value, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowIn(List<Integer> values) {
            addCriterion("is_show in", values, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotIn(List<Integer> values) {
            addCriterion("is_show not in", values, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowBetween(Integer value1, Integer value2) {
            addCriterion("is_show between", value1, value2, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsShowNotBetween(Integer value1, Integer value2) {
            addCriterion("is_show not between", value1, value2, "isShow");
            return (Criteria) this;
        }

        public Criteria andIsReplyIsNull() {
            addCriterion("is_reply is null");
            return (Criteria) this;
        }

        public Criteria andIsReplyIsNotNull() {
            addCriterion("is_reply is not null");
            return (Criteria) this;
        }

        public Criteria andIsReplyEqualTo(Integer value) {
            addCriterion("is_reply =", value, "isReply");
            return (Criteria) this;
        }

        public Criteria andIsReplyNotEqualTo(Integer value) {
            addCriterion("is_reply <>", value, "isReply");
            return (Criteria) this;
        }

        public Criteria andIsReplyGreaterThan(Integer value) {
            addCriterion("is_reply >", value, "isReply");
            return (Criteria) this;
        }

        public Criteria andIsReplyGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_reply >=", value, "isReply");
            return (Criteria) this;
        }

        public Criteria andIsReplyLessThan(Integer value) {
            addCriterion("is_reply <", value, "isReply");
            return (Criteria) this;
        }

        public Criteria andIsReplyLessThanOrEqualTo(Integer value) {
            addCriterion("is_reply <=", value, "isReply");
            return (Criteria) this;
        }

        public Criteria andIsReplyIn(List<Integer> values) {
            addCriterion("is_reply in", values, "isReply");
            return (Criteria) this;
        }

        public Criteria andIsReplyNotIn(List<Integer> values) {
            addCriterion("is_reply not in", values, "isReply");
            return (Criteria) this;
        }

        public Criteria andIsReplyBetween(Integer value1, Integer value2) {
            addCriterion("is_reply between", value1, value2, "isReply");
            return (Criteria) this;
        }

        public Criteria andIsReplyNotBetween(Integer value1, Integer value2) {
            addCriterion("is_reply not between", value1, value2, "isReply");
            return (Criteria) this;
        }

        public Criteria andOtherIdIsNull() {
            addCriterion("other_id is null");
            return (Criteria) this;
        }

        public Criteria andOtherIdIsNotNull() {
            addCriterion("other_id is not null");
            return (Criteria) this;
        }

        public Criteria andOtherIdEqualTo(Integer value) {
            addCriterion("other_id =", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdNotEqualTo(Integer value) {
            addCriterion("other_id <>", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdGreaterThan(Integer value) {
            addCriterion("other_id >", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("other_id >=", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdLessThan(Integer value) {
            addCriterion("other_id <", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdLessThanOrEqualTo(Integer value) {
            addCriterion("other_id <=", value, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdIn(List<Integer> values) {
            addCriterion("other_id in", values, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdNotIn(List<Integer> values) {
            addCriterion("other_id not in", values, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdBetween(Integer value1, Integer value2) {
            addCriterion("other_id between", value1, value2, "otherId");
            return (Criteria) this;
        }

        public Criteria andOtherIdNotBetween(Integer value1, Integer value2) {
            addCriterion("other_id not between", value1, value2, "otherId");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andWatchTimesIsNull() {
            addCriterion("watch_times is null");
            return (Criteria) this;
        }

        public Criteria andWatchTimesIsNotNull() {
            addCriterion("watch_times is not null");
            return (Criteria) this;
        }

        public Criteria andWatchTimesEqualTo(Integer value) {
            addCriterion("watch_times =", value, "watchTimes");
            return (Criteria) this;
        }

        public Criteria andWatchTimesNotEqualTo(Integer value) {
            addCriterion("watch_times <>", value, "watchTimes");
            return (Criteria) this;
        }

        public Criteria andWatchTimesGreaterThan(Integer value) {
            addCriterion("watch_times >", value, "watchTimes");
            return (Criteria) this;
        }

        public Criteria andWatchTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("watch_times >=", value, "watchTimes");
            return (Criteria) this;
        }

        public Criteria andWatchTimesLessThan(Integer value) {
            addCriterion("watch_times <", value, "watchTimes");
            return (Criteria) this;
        }

        public Criteria andWatchTimesLessThanOrEqualTo(Integer value) {
            addCriterion("watch_times <=", value, "watchTimes");
            return (Criteria) this;
        }

        public Criteria andWatchTimesIn(List<Integer> values) {
            addCriterion("watch_times in", values, "watchTimes");
            return (Criteria) this;
        }

        public Criteria andWatchTimesNotIn(List<Integer> values) {
            addCriterion("watch_times not in", values, "watchTimes");
            return (Criteria) this;
        }

        public Criteria andWatchTimesBetween(Integer value1, Integer value2) {
            addCriterion("watch_times between", value1, value2, "watchTimes");
            return (Criteria) this;
        }

        public Criteria andWatchTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("watch_times not between", value1, value2, "watchTimes");
            return (Criteria) this;
        }

        public Criteria andArticleUrlIsNull() {
            addCriterion("article_url is null");
            return (Criteria) this;
        }

        public Criteria andArticleUrlIsNotNull() {
            addCriterion("article_url is not null");
            return (Criteria) this;
        }

        public Criteria andArticleUrlEqualTo(String value) {
            addCriterion("article_url =", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlNotEqualTo(String value) {
            addCriterion("article_url <>", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlGreaterThan(String value) {
            addCriterion("article_url >", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlGreaterThanOrEqualTo(String value) {
            addCriterion("article_url >=", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlLessThan(String value) {
            addCriterion("article_url <", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlLessThanOrEqualTo(String value) {
            addCriterion("article_url <=", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlLike(String value) {
            addCriterion("article_url like", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlNotLike(String value) {
            addCriterion("article_url not like", value, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlIn(List<String> values) {
            addCriterion("article_url in", values, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlNotIn(List<String> values) {
            addCriterion("article_url not in", values, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlBetween(String value1, String value2) {
            addCriterion("article_url between", value1, value2, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andArticleUrlNotBetween(String value1, String value2) {
            addCriterion("article_url not between", value1, value2, "articleUrl");
            return (Criteria) this;
        }

        public Criteria andUpTimesIsNull() {
            addCriterion("up_times is null");
            return (Criteria) this;
        }

        public Criteria andUpTimesIsNotNull() {
            addCriterion("up_times is not null");
            return (Criteria) this;
        }

        public Criteria andUpTimesEqualTo(Integer value) {
            addCriterion("up_times =", value, "upTimes");
            return (Criteria) this;
        }

        public Criteria andUpTimesNotEqualTo(Integer value) {
            addCriterion("up_times <>", value, "upTimes");
            return (Criteria) this;
        }

        public Criteria andUpTimesGreaterThan(Integer value) {
            addCriterion("up_times >", value, "upTimes");
            return (Criteria) this;
        }

        public Criteria andUpTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("up_times >=", value, "upTimes");
            return (Criteria) this;
        }

        public Criteria andUpTimesLessThan(Integer value) {
            addCriterion("up_times <", value, "upTimes");
            return (Criteria) this;
        }

        public Criteria andUpTimesLessThanOrEqualTo(Integer value) {
            addCriterion("up_times <=", value, "upTimes");
            return (Criteria) this;
        }

        public Criteria andUpTimesIn(List<Integer> values) {
            addCriterion("up_times in", values, "upTimes");
            return (Criteria) this;
        }

        public Criteria andUpTimesNotIn(List<Integer> values) {
            addCriterion("up_times not in", values, "upTimes");
            return (Criteria) this;
        }

        public Criteria andUpTimesBetween(Integer value1, Integer value2) {
            addCriterion("up_times between", value1, value2, "upTimes");
            return (Criteria) this;
        }

        public Criteria andUpTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("up_times not between", value1, value2, "upTimes");
            return (Criteria) this;
        }

        public Criteria andDownTimesIsNull() {
            addCriterion("down_times is null");
            return (Criteria) this;
        }

        public Criteria andDownTimesIsNotNull() {
            addCriterion("down_times is not null");
            return (Criteria) this;
        }

        public Criteria andDownTimesEqualTo(Integer value) {
            addCriterion("down_times =", value, "downTimes");
            return (Criteria) this;
        }

        public Criteria andDownTimesNotEqualTo(Integer value) {
            addCriterion("down_times <>", value, "downTimes");
            return (Criteria) this;
        }

        public Criteria andDownTimesGreaterThan(Integer value) {
            addCriterion("down_times >", value, "downTimes");
            return (Criteria) this;
        }

        public Criteria andDownTimesGreaterThanOrEqualTo(Integer value) {
            addCriterion("down_times >=", value, "downTimes");
            return (Criteria) this;
        }

        public Criteria andDownTimesLessThan(Integer value) {
            addCriterion("down_times <", value, "downTimes");
            return (Criteria) this;
        }

        public Criteria andDownTimesLessThanOrEqualTo(Integer value) {
            addCriterion("down_times <=", value, "downTimes");
            return (Criteria) this;
        }

        public Criteria andDownTimesIn(List<Integer> values) {
            addCriterion("down_times in", values, "downTimes");
            return (Criteria) this;
        }

        public Criteria andDownTimesNotIn(List<Integer> values) {
            addCriterion("down_times not in", values, "downTimes");
            return (Criteria) this;
        }

        public Criteria andDownTimesBetween(Integer value1, Integer value2) {
            addCriterion("down_times between", value1, value2, "downTimes");
            return (Criteria) this;
        }

        public Criteria andDownTimesNotBetween(Integer value1, Integer value2) {
            addCriterion("down_times not between", value1, value2, "downTimes");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}